AmeliaBooking\Application\Services\Payment\PaymentApplicationService D

Total Complexity 192
Dependencies 26
Dependents 0
Total lines 973
Lines of code 637
Logical lines of code 343
Comment lines 152
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
createPaymentLink()
D
19
65 178
processPayment()
C
29 25 134
calculateAppointmentPrice()
C
38 26 60
getPaymentsData()
B
39 19 57
getBookingInformationForPaymentSettings()
B
39 18 64
getAvailablePayments()
A
48 16 35
delete()
S
50 5 32
isAllowedOnSitePaymentMethod()
S
59 6 13
getFullStatus()
S
54 3 24
updateBookingPaymentDate()
S
62 3 12
insertPaymentFromLink()
S
57 2 16
setPaymentTransactionId()
S
66 3 9
__construct()
S
81 1 3